<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
		<title>流程图-部署</title>
		<link rel="icon" href="assets/img/lcxm.ico" type="image/ico">
		<script type="text/javascript" src="../../commonFragment/header.js"></script>
		<script type="text/javascript" src="../../commonFragment/nojs.header.js" ></script>
		<script>
			$nojs.after(function(context){
			    console.info("i am after");
			});
			$nojs.before(function(context){
			    this.test.enable=false;    //禁用test模块
			    console.info("i am before");
			});
		</script>
	</head>
	<body>
		<div class="container-fluid p-t-15">
			<div class="row">
				<div class="col-lg-12">
					<div class="card">
						<div class="card-body">
							<form class="form-horizontal validate" role="form method="post" action="/activiti/origin/deployment">
								<div class="form-group">
									<label for="name" class="col-sm-2 control-label">流程名*</label>
									<div class="col-sm-6 ">
										<input type="text" class="form-control" id="name" name="name" :value="name" data-rule-required="true"
										 placeholder="请输入流程名" autocomplete="off" />
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>

								<div class="form-group">
									<label for="remark" class="col-sm-2 control-label">Zip文件</label>
									<div class="col-sm-6 ">
										<input type="file"  name="upfile" data-rule-accept="application/x-zip*"  />
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>

								<div class="form-group clearfix">
									<div class="col-sm-offset-3 col-sm-9">
										<button type="button" class="btn btn-primary action-ajax-form">
											<i class="glyphicon glyphicon-ok"></i> 提交
										</button>
										<button type="button" class="btn btn-info action-close-tab">
											<i class="glyphicon glyphicon-repeat"></i> 返回
										</button>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
